﻿/// <reference path="jquery-1.7.1.js" />
/// <reference path="jquery-ui-1.8.20.js" />
/// <reference path="jquery.validate.js" />
/// <reference path="jquery.validate.unobtrusive.js" />
/// <reference path="knockout-2.1.0.debug.js" />
/// <reference path="modernizr-2.5.3.js" />
/// <reference path="../jquery-1.7.1-vsdoc.js" />

$("#searchBox").autocomplete({
    minLength: 2,
    source: "/FanItem/GetFanItemAutocomplete/",
    select: function (event, ui) {
        $("#id").attr("value", ui.item.code);
        
    }
});

$("button").button();